package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@TableName("activity")
public class Activity {
  @TableId(type = IdType.AUTO)
  private long activityId;
  private String title;
  private String description;
  private String fileId;
  private String startTime;
  private String endTime;
  private String location;
  private long campusId;
  private long maxParticipants;
  private long currentParticipants;
  private String activityStatus;
  private String rejectReason;
  private String createTime;
  private String updateTime;

  //图片路径
  @TableField(exist = false)
  private String url;
}
